<?php


namespace App\Enums\Common;

/**
 * 支付回调配置
 * Class BoxEnum
 * @package App\Enums\Common
 */
class OrderPayEnum
{

    /**
     * //状态
     */
    const STATUS_ZERO = 0;
    const STATUS_ONE = 1;

    /**
     * //类型
     */
    const TYPE_ONE = 1;
    const TYPE_SCAN_ORDER = 4;
    const TYPE_LIVE_ORDER = 6; // 本地订单支付

    /**
     * //付款方式
     */
    const PAY_TYPE_ONE = 1;
    const PAY_TYPE_TWO = 2;
    const PAY_TYPE_THREE = 3;
    const PAY_TYPE_FOUR = 4;


    public static $statusDesc = [
        self::STATUS_ZERO => "未支付",
        self::STATUS_ONE => "已支付",
    ];

    public static $typeDesc = [
        self::TYPE_ONE => "云领校园",
        self::TYPE_SCAN_ORDER => "扫码点餐",
    ];


    public static $payTypeDesc = [
        self::PAY_TYPE_ONE => "微信",
        self::PAY_TYPE_TWO => "支付宝",
        self::PAY_TYPE_THREE => "余额",
        self::PAY_TYPE_FOUR => "其他",
    ];


}
